package user_logic

import (
	"HuiYi-Mall/routers/api_models"
)

type UserLogic struct {
}

func (ul *UserLogic) GetUserInfo(userIn *api_models.UserIn) *api_models.UserOut {
	return &api_models.UserOut{
		UserId:   userIn.UserId,
		UserName: userIn.UserName,
	}
}

func NewUserLogic() *UserLogic {
	return &UserLogic{}
}
